]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: tweak startup animation
authorRay Strode <rstrode@redhat.com>
Thu, 21 Feb 2013 19:38:50 +0000 (14:38 -0500)
committerRay Strode <rstrode@redhat.com>
Sat, 2 Mar 2013 22:44:26 +0000 (17:44 -0500)
Following designer feedback, this commit makes the startup
animation a little more subtle.

https://bugzilla.gnome.org/show_bug.cgi?id=694326

js/ui/layout.js

index c341c2ba9aaa4b976e2a8095a90f35c930ff8bab..61e22506641d88dd471111491c0eef05edf63a9d 100644 (file)
@@ -555,7 +555,8 @@ const LayoutManager = new Lang.Class({
 
             this.uiGroup.set_pivot_point(x / global.screen_width,
                                          y / global.screen_height);
-            this.uiGroup.scale_x = this.uiGroup.scale_y = 0;
+            this.uiGroup.scale_x = this.uiGroup.scale_y = 0.5;
+            this.uiGroup.opacity = 0;
         }
 
         this._systemBackground = new Background.SystemBackground();
@@ -610,6 +611,7 @@ const LayoutManager = new Lang.Class({
         Tweener.addTween(this.uiGroup,
                          { scale_x: 1,
                            scale_y: 1,
+                           opacity: 255,
                            time: STARTUP_ANIMATION_TIME,
                            transition: 'easeOutQuad',
                            onComplete: this._startupAnimationComplete,